home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 142
/
Volume 142 Oct 17 2011 - Damaged.iso
/
Games
/
pac-adventure.swf
/
scripts
/
Fmd5.as
< prev
next >
Wrap
Text File
|
2011-10-17
|
22KB
|
341 lines
var §\x01§ = 210;
while(true)
{
if(eval("\x01") != 210)
{
if(eval("\x01") != 930)
{
if(eval("\x01") != 248)
{
if(eval("\x01") != 580)
{
if(eval("\x01") != 809)
{
if(eval("\x01") == 495)
{
set("\x01",eval("\x01") + 67);
break;
}
if(eval("\x01") == 268)
{
set("\x01",eval("\x01") + 35);
§§push("\x0f");
continue;
}
if(eval("\x01") != 562)
{
if(eval("\x01") != 414)
{
if(eval("\x01") != 144)
{
if(eval("\x01") != 807)
{
if(eval("\x01") == 776)
{
set("\x01",eval("\x01") + 31);
break;
}
if(eval("\x01") == 645)
{
set("\x01",eval("\x01") - 65);
§§push("\x0f");
§§push(1);
continue;
}
if(eval("\x01") == 303)
{
set("\x01",eval("\x01") + 52);
§§push(eval(§§pop()));
continue;
}
if(eval("\x01") == 600)
{
set("\x01",eval("\x01") - 225);
continue;
continue;
}
if(eval("\x01") != 355)
{
if(eval("\x01") != 762)
{
if(eval("\x01") == 375)
{
set("\x01",eval("\x01") - 71);
Fmd5Class.prototype = new MovieClip();
Fmd5Class.prototype.rol = function(a, n)
{
return a << n | a >>> 32 - n;
};
Fmd5Class.prototype.FF = function(a, b, c, d, x, s, ac)
{
return this.rol(a + (b & c | (~b) & d) + x + ac,s) + b;
};
Fmd5Class.prototype.GG = function(a, b, c, d, x, s, ac)
{
return this.rol(a + (b & d | c & (~d)) + x + ac,s) + b;
};
Fmd5Class.prototype.HH = function(a, b, c, d, x, s, ac)
{
return this.rol(a + (b ^ c ^ d) + x + ac,s) + b;
};
Fmd5Class.prototype.II = function(a, b, c, d, x, s, ac)
{
return this.rol(a + (c ^ (b | ~d)) + x + ac,s) + b;
};
Fmd5Class.prototype.transformMD5 = function(buf, offset)
{
var _loc6_ = undefined;
var _loc5_ = undefined;
var _loc4_ = undefined;
var _loc3_ = undefined;
var _loc2_ = this.transformBuffer;
_loc6_ = this.state[0];
_loc5_ = this.state[1];
_loc4_ = this.state[2];
_loc3_ = this.state[3];
i = 0;
while(i < 16)
{
_loc2_[i] = buf[i * 4 + offset] & 255;
j = 1;
while(j < 4)
{
_loc2_[i] |= (buf[i * 4 + j + offset] & 255) << j * 8;
j++;
}
i++;
}
_loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[0],7,3614090360);
_loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[1],12,3905402710);
_loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[2],17,606105819);
_loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[3],22,3250441966);
_loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[4],7,4118548399);
_loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[5],12,1200080426);
_loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[6],17,2821735955);
_loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[7],22,4249261313);
_loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[8],7,1770035416);
_loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[9],12,2336552879);
_loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[10],17,4294925233);
_loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[11],22,2304563134);
_loc6_ = this.FF(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[12],7,1804603682);
_loc3_ = this.FF(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[13],12,4254626195);
_loc4_ = this.FF(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[14],17,2792965006);
_loc5_ = this.FF(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[15],22,1236535329);
_loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[1],5,4129170786);
_loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[6],9,3225465664);
_loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[11],14,643717713);
_loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[0],20,3921069994);
_loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[5],5,3593408605);
_loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[10],9,38016083);
_loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[15],14,3634488961);
_loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[4],20,3889429448);
_loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[9],5,568446438);
_loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[14],9,3275163606);
_loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[3],14,4107603335);
_loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[8],20,1163531501);
_loc6_ = this.GG(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[13],5,2850285829);
_loc3_ = this.GG(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[2],9,4243563512);
_loc4_ = this.GG(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[7],14,1735328473);
_loc5_ = this.GG(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[12],20,2368359562);
_loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[5],4,4294588738);
_loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[8],11,2272392833);
_loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[11],16,1839030562);
_loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[14],23,4259657740);
_loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[1],4,2763975236);
_loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[4],11,1272893353);
_loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[7],16,4139469664);
_loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[10],23,3200236656);
_loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[13],4,681279174);
_loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[0],11,3936430074);
_loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[3],16,3572445317);
_loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[6],23,76029189);
_loc6_ = this.HH(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[9],4,3654602809);
_loc3_ = this.HH(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[12],11,3873151461);
_loc4_ = this.HH(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[15],16,530742520);
_loc5_ = this.HH(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[2],23,3299628645);
_loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[0],6,4096336452);
_loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[7],10,1126891415);
_loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[14],15,2878612391);
_loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[5],21,4237533241);
_loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[12],6,1700485571);
_loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[3],10,2399980690);
_loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[10],15,4293915773);
_loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[1],21,2240044497);
_loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[8],6,1873313359);
_loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[15],10,4264355552);
_loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[6],15,2734768916);
_loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[13],21,1309151649);
_loc6_ = this.II(_loc6_,_loc5_,_loc4_,_loc3_,_loc2_[4],6,4149444226);
_loc3_ = this.II(_loc3_,_loc6_,_loc5_,_loc4_,_loc2_[11],10,3174756917);
_loc4_ = this.II(_loc4_,_loc3_,_loc6_,_loc5_,_loc2_[2],15,718787259);
_loc5_ = this.II(_loc5_,_loc4_,_loc3_,_loc6_,_loc2_[9],21,3951481745);
this.state[0] += _loc6_;
this.state[1] += _loc5_;
this.state[2] += _loc4_;
this.state[3] += _loc3_;
};
Fmd5Class.prototype.MD5Init = function()
{
this.count0 = this.count1 = 0;
this.state[0] = 1732584193;
this.state[1] = 4023233417;
this.state[2] = 2562383102;
this.state[3] = 271733878;
i = 0;
while(i < this.digestBits.length)
{
this.digestBits[i] = 0;
i++;
}
};
Fmd5Class.prototype.MD5Update = function(b)
{
var _loc2_ = this.count0 >>> 3 & 63;
if(4294967288 <= this.count0)
{
this.count1 = this.count1 + 1;
this.count0 -= 4294967296;
}
this.count0 += 8;
this.buffer[_loc2_] = b & 255;
trace(_loc2_);
if(_loc2_ >= 63)
{
this.transformMD5(this.buffer,0);
}
};
Fmd5Class.prototype.MD5Final = function()
{
var _loc4_ = new Array(8);
var _loc2_ = undefined;
var _loc3_ = undefined;
_loc2_ = 0;
while(_loc2_ < 4)
{
_loc4_[_loc2_] = this.count0 >>> _loc2_ * 8 & 255;
_loc4_[_loc2_ + 4] = this.count1 >>> _loc2_ * 8 & 255;
_loc2_ = _loc2_ + 1;
}
var _loc6_ = this.count0 >>> 3 & 63;
var _loc5_ = _loc6_ >= 56 ? 120 - _loc6_ : 56 - _loc6_;
this.MD5Update(128);
_loc2_ = 1;
while(_loc2_ < _loc5_)
{
this.MD5Update(0);
_loc2_ = _loc2_ + 1;
}
_loc2_ = 0;
while(_loc2_ < 8)
{
this.MD5Update(_loc4_[_loc2_]);
_loc2_ = _loc2_ + 1;
}
_loc2_ = 0;
while(_loc2_ < 4)
{
_loc3_ = 0;
while(_loc3_ < 4)
{
this.digestBits[_loc2_ * 4 + _loc3_] = this.state[_loc2_] >>> _loc3_ * 8 & 255;
_loc3_ = _loc3_ + 1;
}
_loc2_ = _loc2_ + 1;
}
};
Fmd5Class.prototype.byteToStr = function(bt)
{
var _loc1_ = "0123456789abcdef";
var _loc2_ = _loc1_.charAt(bt >> 4) + _loc1_.charAt(bt & 15);
return _loc2_;
};
Fmd5Class.prototype.md5 = function(m)
{
var _loc4_ = "";
this.MD5Init();
var _loc2_ = 0;
while(_loc2_ < m.length)
{
this.MD5Update(m.charCodeAt(_loc2_));
_loc2_ = _loc2_ + 1;
}
this.MD5Final();
_loc2_ = 0;
while(_loc2_ < 16)
{
_loc4_ += this.byteToStr(this.digestBits[_loc2_]);
_loc2_ = _loc2_ + 1;
}
return _loc4_;
};
Fmd5Class.prototype.verifytext = function(d, m)
{
return this.md5(m) == d;
};
makeSig;
Fmd5Class.prototype.makeSig = function(input)
{
var _loc2_ = this.md5(input);
var _loc4_ = _loc2_.substr(0,16);
var _loc3_ = _loc2_.substr(16,16);
trace(_loc2_ + " >> " + _loc4_ + " >> " + _loc3_);
_loc2_ = this.md5(_loc2_);
trace(_loc2_ + " >> " + _loc4_ + " >> " + _loc3_);
return _loc3_ + _loc2_ + _loc4_;
};
Object.registerClass("Fmd5",Fmd5Class);
break;
}
if(eval("\x01") == 304)
{
set("\x01",eval("\x01") - 304);
break;
}
}
set("\x01",eval("\x01") - 162);
if(§§pop())
{
set("\x01",eval("\x01") - 225);
}
}
}
set("\x01",eval("\x01") - 162);
continue;
set("\x01",eval("\x01") + 407);
}
set("\x01",eval("\x01") + 665);
§§push(true);
continue;
}
set("\x01",eval("\x01") - 270);
continue;
§§push(!§§pop());
}
set("\x01",eval("\x01") - 418);
}
set("\x01",eval("\x01") - 33);
if(§§pop())
{
set("\x01",eval("\x01") + 31);
}
continue;
}
set("\x01",eval("\x01") - 312);
var §§pop() = §§pop();
continue;
}
set("\x01",eval("\x01") + 397);
continue;
continue;
}
set("\x01",eval("\x01") - 435);
if(§§pop())
{
set("\x01",eval("\x01") + 67);
}
continue;
}
set("\x01",eval("\x01") + 720);
§§push(true);
}